Skip to content

feat: remove car telemetry client surface (breaking) - #4

Open
jlazar wants to merge 2 commits into
mainfrom
chore/remove-telemetry-endpoints
Open

jlazar wants to merge 2 commits into
mainfrom
chore/remove-telemetry-endpoints

Conversation

@jlazar

@jlazar jlazar commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

What / why

The RaceHooks API removed car telemetry (racehooks#5025, merged 2026-11-04): /v1/telemetry/*, /v1/data/races/:raceId/telemetry/{laps,stints,aggression}, /v1/data/races/:raceId/summary and the results.race-summary webhook feed. This removes the matching client surface.

Removed (breaking)

  • TelemetryNamespace and client.telemetry (get_race_laps, get_driver_laps, get_lap_comparison, get_race_summary)
  • DataNamespace.get_race_summary, get_race_telemetry_laps, get_race_telemetry_stints, get_race_telemetry_aggression
  • RaceSummaryEvent (exports, results.race-summary mapping, and the type == "race.summary.complete" dispatch in parse_event)
  • Related tests, README/AGENTS.md examples and the race-summary table row. CHANGELOG gets an Unreleased breaking entry (history kept).

Versioning

Version is bumped by semantic-release from the commit type (feat: gives 0.8.0); no manual bump.

Verification

pytest: 93 passed. CI lint (ruff check/format on racehooks/grpc, mypy) clean.

Merging publishes to PyPI — owner merges after the API deploy.

…025)

Drops TelemetryNamespace / client.telemetry, data.get_race_summary and
data.get_race_telemetry_{laps,stints,aggression}, RaceSummaryEvent and its
type-discriminator dispatch. Removal is breaking for callers of those
methods; on 0.x this should be a minor bump.
@jlazar
jlazar force-pushed the chore/remove-telemetry-endpoints branch from 2c00051 to 87ea9ec Compare November 4, 2026 16:56
…dored feed catalog

Vendor the RaceHooks feed catalog as catalog/feed-catalog.json and generate
racehooks/models/_feed_catalog.py from it (scripts/gen_feed_catalog.py). CI
re-runs the generator and fails on diff.

- New FeedId, FeedAvailability (free | live | analytics | lap), FeedFamily
  literals and the FEED_CATALOG / FEED_CATALOG_HASH constants, exported from
  racehooks. Feed.availability stays a plain str (documented as the feed tier,
  not the account plan) so a new tier never breaks parsing.
- New event models where the catalog publishes a real sample: pit.stops,
  session.clock, session.info, telemetry.track-position. All other feeds
  without a model, including the seven with no sample (fantasy.scores,
  lite.race-odds, radio.transcript, strategy.recommendation, race.grid-penalty,
  regulatory.stewards-decision, analytics.ml-result), parse as the generic
  WebhookEvent.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant